package com.dragon.modules.yuegou.entity.member;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;

/**
 * 会员隐私设置信息表 0-是 1-否实体类<br>
 * 对应的表为：mem_set<br>
 * 
 * @author pbuilder generated
 * @date 2019-08-07 13:56:48
 * @company sgy
 * @version 2.0
 */
@TableName("mem_set")
@ApiModel(description = "会员隐私设置信息表 0-是 1-否")
public class SetEntity {

    /** 主键 */
	@ApiModelProperty("主键")
	protected String id;

    /** 会员ID */
	@ApiModelProperty("会员ID")
	protected String memberId;

    /** 向所有人展示网红店铺排名 0:否 1:是 */
	@ApiModelProperty("向所有人展示网红店铺排名 0:否 1:是")
	protected Boolean groupToAll;

    /** 向我的粉丝展示网红店铺排名 0:否 1:是 */
	@ApiModelProperty("向我的粉丝展示网红店铺排名 0:否 1:是")
	protected Boolean groupToFans;

    /** 是否接收所有人消息 0:否 1:是 */
	@ApiModelProperty("是否接收所有人消息 0:否 1:是")
	protected Boolean isReceiveAllMsg;

    /** 是否接受我关注用户的消息,0:否 1:是 */
	@ApiModelProperty("是否接受我关注用户的消息,0:否 1:是")
	protected Boolean isReceiveFollowMsg;

    /**  */
	protected LocalDateTime createdTime;

    /**  */
	protected LocalDateTime modifiedTime;

	/**
	 * 构造一个空会员隐私设置信息表 0-是 1-否实体对象
	 */
	public SetEntity(){
		super();
	}

	/**
	 * 依据其它对象的信息构造一个会员隐私设置信息表 0-是 1-否实体对象
	 * 
	 * @param other 其它对象
	 */
	public SetEntity(SetEntity other){
		super();
     	this.id = other.id;
     	this.memberId = other.memberId;
     	this.groupToAll = other.groupToAll;
     	this.groupToFans = other.groupToFans;
     	this.isReceiveAllMsg = other.isReceiveAllMsg;
     	this.isReceiveFollowMsg = other.isReceiveFollowMsg;
     	this.createdTime = other.createdTime;
     	this.modifiedTime = other.modifiedTime;
	}


	/**
	 * 获取主键
	 * 
	 * @return id 主键
	 */
	public String getId() {
		return id;
	}
  	
	/**
	 * 设置主键
	 * 
	 * @param id 主键
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * 获取会员ID
	 * 
	 * @return memberId 会员ID
	 */
	public String getMemberId() {
		return memberId;
	}
  	
	/**
	 * 设置会员ID
	 * 
	 * @param memberId 会员ID
	 */
	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}

	/**
	 * 获取向所有人展示网红店铺排名 0:否 1:是
	 * 
	 * @return groupToAll 向所有人展示网红店铺排名 0:否 1:是
	 */
	public Boolean getGroupToAll() {
		return groupToAll;
	}
  	
	/**
	 * 设置向所有人展示网红店铺排名 0:否 1:是
	 * 
	 * @param groupToAll 向所有人展示网红店铺排名 0:否 1:是
	 */
	public void setGroupToAll(Boolean groupToAll) {
		this.groupToAll = groupToAll;
	}

	/**
	 * 获取向我的粉丝展示网红店铺排名 0:否 1:是
	 * 
	 * @return groupToFans 向我的粉丝展示网红店铺排名 0:否 1:是
	 */
	public Boolean getGroupToFans() {
		return groupToFans;
	}
  	
	/**
	 * 设置向我的粉丝展示网红店铺排名 0:否 1:是
	 * 
	 * @param groupToFans 向我的粉丝展示网红店铺排名 0:否 1:是
	 */
	public void setGroupToFans(Boolean groupToFans) {
		this.groupToFans = groupToFans;
	}

	/**
	 * 获取是否接收所有人消息 0:否 1:是
	 * 
	 * @return isReceiveAllMsg 是否接收所有人消息 0:否 1:是
	 */
	public Boolean getIsReceiveAllMsg() {
		return isReceiveAllMsg;
	}
  	
	/**
	 * 设置是否接收所有人消息 0:否 1:是
	 * 
	 * @param isReceiveAllMsg 是否接收所有人消息 0:否 1:是
	 */
	public void setIsReceiveAllMsg(Boolean isReceiveAllMsg) {
		this.isReceiveAllMsg = isReceiveAllMsg;
	}

	/**
	 * 获取是否接受我关注用户的消息,0:否 1:是
	 * 
	 * @return isReceiveFollowMsg 是否接受我关注用户的消息,0:否 1:是
	 */
	public Boolean getIsReceiveFollowMsg() {
		return isReceiveFollowMsg;
	}
  	
	/**
	 * 设置是否接受我关注用户的消息,0:否 1:是
	 * 
	 * @param isReceiveFollowMsg 是否接受我关注用户的消息,0:否 1:是
	 */
	public void setIsReceiveFollowMsg(Boolean isReceiveFollowMsg) {
		this.isReceiveFollowMsg = isReceiveFollowMsg;
	}

	/**
	 * 获取
	 * 
	 * @return createdTime 
	 */
	public LocalDateTime getCreatedTime() {
		return createdTime;
	}
  	
	/**
	 * 设置
	 * 
	 * @param createdTime 
	 */
	public void setCreatedTime(LocalDateTime createdTime) {
		this.createdTime = createdTime;
	}

	/**
	 * 获取
	 * 
	 * @return modifiedTime 
	 */
	public LocalDateTime getModifiedTime() {
		return modifiedTime;
	}
  	
	/**
	 * 设置
	 * 
	 * @param modifiedTime 
	 */
	public void setModifiedTime(LocalDateTime modifiedTime) {
		this.modifiedTime = modifiedTime;
	}

    public String toString() {
		return new StringBuilder().append("SetEntity{").
			append("id=").append(id).
			append(",memberId=").append(memberId).
			append(",groupToAll=").append(groupToAll).
			append(",groupToFans=").append(groupToFans).
			append(",isReceiveAllMsg=").append(isReceiveAllMsg).
			append(",isReceiveFollowMsg=").append(isReceiveFollowMsg).
			append(",createdTime=").append(createdTime).
			append(",modifiedTime=").append(modifiedTime).
			append('}').toString();
    }

	/**
	 * 复制对象
	 * 
	 * @return 复制后的新实体对象
	 */
	public SetEntity copy() {
		return new SetEntity(this);
	}

    /** 主键 */
	public static final String COL_ID = "id";

    /** 会员ID */
	public static final String COL_MEMBER_ID = "member_id";

    /** 向所有人展示网红店铺排名 0:否 1:是 */
	public static final String COL_GROUP_TO_ALL = "group_to_all";

    /** 向我的粉丝展示网红店铺排名 0:否 1:是 */
	public static final String COL_GROUP_TO_FANS = "group_to_fans";

    /** 是否接收所有人消息 0:否 1:是 */
	public static final String COL_IS_RECEIVE_ALL_MSG = "is_receive_all_msg";

    /** 是否接受我关注用户的消息,0:否 1:是 */
	public static final String COL_IS_RECEIVE_FOLLOW_MSG = "is_receive_follow_msg";

    /**  */
	public static final String COL_CREATED_TIME = "created_time";

    /**  */
	public static final String COL_MODIFIED_TIME = "modified_time";
}
